package com.wlz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * Description:  hystrix-dashboard 启动类
 *   在启动类上添加@EnableHystrixDashboard来启用监控功能
 *
 *   启动相关服务：
 *      这次我们需要启动如下服务：eureka-server、user-service、hystrix-service、hystrix-dashboard
 * 
 * @author JourWon
 * @date 2019/12/20 14:06
 */
@EnableHystrixDashboard
@EnableDiscoveryClient
@SpringBootApplication
public class HystrixDashboardApplication {

    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardApplication.class, args);
    }

}
